package com.wx.token;

/**
 * 微信凭证
 * 
 * @author sunsu
 */
public class AccessToken {
	// 获取到的凭证
	private String access_token;
	// 凭证有效时间，单位：s
	private int expires_in;

	public String getAccess_token() {
		return access_token;
	}

	public void setAccess_token(String access_token) {
		this.access_token = access_token;
	}

	public int getExpires_in() {
		return expires_in;
	}

	public void setExpires_in(int expires_in) {
		this.expires_in = expires_in;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "凭证:"+access_token+",有效时间为:"+expires_in+"秒.";
	}
	
}